<template>
  <div class="menu">
    <query-table
      :tableConfig="menuListTableConfig"
      :isShowPagination="false"
      pageName="menu"
      :treeTableConfig="treeTableConfig"
    ></query-table>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import QueryTable from "@/components/query-table";
import { menuListTableConfig, treeTableConfig } from "./config/config";

export default defineComponent({
  components: {
    QueryTable
  },
  name: "Menu",
  setup() {
    return { menuListTableConfig, treeTableConfig };
  }
});
</script>

<style scoped></style>
